package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysMail;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface SysMailMapper extends K2Mapper<SysMail> {

    SysMail get(Long id);

    int deleteById(Long id);

    int updateByPrimaryKeySelective(SysMail record);

    int updateByPrimaryKey(SysMail record);

    List<SysMail> selectUseful();

}